﻿using System;
using System.Data;
using System.Data.Common;
using System.Collections.Generic;

namespace Joyintech.IDAL.inpiao365
{
    public partial interface IpageSplit_DAL
    {
        /// <summary>
        /// 获取指定栏目的分页数据项
        /// </summary>
        /// <param name="strSql">查询语句,语句尾部不可带有order by</param>
        /// <param name="orderby">如：AddDate desc</param>
        /// <param name="StartRowNum">记录开始索引</param>
        /// <param name="EndRowNum">记录结束索引</param>
        /// <returns></returns>
        DataSet GetPagerList(string strSelect, string orderby, int StartRowNum, int EndRowNum);

        /// <summary>
        /// 获取查询结果
        /// </summary>
        /// <param name="strSql">查询语句</param>
        /// <returns></returns>
        DataSet GetList(string strSql);

        /// <summary>
        /// 根据指定语句获取记录总数
        /// </summary>
        /// <param name="strSelectCount">如：select count(*) from systemNodeContent</param>
        /// <returns></returns>
        int GetPagerTotalCount(string strSelectCount);
    }
}
